<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Loading</title>
</head>
<body style="background: black; color: white; margin: 60px;">
       <div id="msg"> Check Box Setting for last configuration ... </div>
</body>
</html>

<script type="text/javascript">

var activator = null;

function next() {
		location.replace( "init1.html" );
}

function uni_onready(){
        var uiSettings = wae.create("UI.UISettings");
        uiSettings.set1080P();
 
	activator = wae.create("Activator");
	
	if ( ! activator.has_last_lic() ) {
		return next();
	}
	
	var r = confirm( "Found Last Box Setting, use it? " );
	if ( ! r ) {
		return next();
	}
	
	if ( ! activator.use_last_lic() ) {
		alert("Error, Invalid Data");
		return next();
	}

    var app = wae.create("Application");
    app.restartApplication();
		
}

window.onWAEReady = uni_onready;
</script>

